# -*- coding: UTF-8 -*-

##########################################################################
#
#   Copyright (c) 2020  Bresee, Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
###########################################################################

### 算法合成视频特效管理配置
# Algorithm synthesis video special effect management configuration

from flask import Blueprint
from flask import request
from utils.wraps import token, urlcost
import utils.message.response as response
from utils.wraps import layerEffects



element_module = Blueprint(
    'base_element', __name__, url_prefix='/api/v1/mission/element')

layerEffects.LayerEffects.effects_info()
@element_module.route('/layerEffects/getAll', methods=['GET'])
#@token.login_required
@urlcost.cost_count_wraps
def layerEffects_():
 
    ret = []
    ret = layerEffects.LayerEffects.get_effects()
    return response.make_response_success(ret)


layerEffects.VideoSpecialEffects.effects_info()
@element_module.route('/videoSpecialEffects/getAll', methods=['GET'])
#@token.login_required
@urlcost.cost_count_wraps
def videoSpecialEffects_():
 
    ret = []
    ret = layerEffects.VideoSpecialEffects.get_effects()
    return response.make_response_success(ret)
 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
